Struts and Hibernate in practice
نویسنده
چکیده
..............................................................................................................................I RESUME .................................................................................................................................. II ACKNOWLEDGEMENT .................................................................................................... III TABLE OF CONTENTS .......................................................................................................IV TABLE OF FIGURES ......................................................................................................... VII 1. BACKGROUND AND PURPOSE ................................................................................. 1 1.1 COMPANY........................................................................................................................ 1 1.2 CUSTOMER ...................................................................................................................... 2 2. THEORY ........................................................................................................................... 3 2.1 JAVA EE 5 ..................................................................................................................... 3 2.1.1 BROWSER/SERVER ............................................................................................... 4 2.1.2 SERVLET ................................................................................................................ 6 2.1.3 JSP .......................................................................................................................... 7 2.2 FRAMEWORK ................................................................................................................... 7 2.3 STRUTS ......................................................................................................................... 9 2.3.1 STRUTS 2 ............................................................................................................. 10 2.3.2 Components .......................................................................................................... 12 2.3.2.1 Interceptors ....................................................................................................... 12 2.3.2.2 The ActionContext and the Value Stack .......................................................... 12 2.3.2.3 OGNL ............................................................................................................... 13 2.3.2.4 Themes ............................................................................................................. 13 2.3.2.5 Localization ...................................................................................................... 14 2.3.3 How Struts 2 works............................................................................................... 14 2.4 HIBERNATE ............................................................................................................... 16 2.4.1 Persistent Objects ................................................................................................. 17 2.4.2 ORM Mapping Files ............................................................................................. 17 2.4.3 Interfaces called by Java applications to perform CRUD operations on the persistent classes .............................................................................................................. 17 2.4.4 Interfaces used for Hibernate Configuration ....................................................... 18 2.5 EJB 3............................................................................................................................. 19
منابع مشابه
Integration of Struts, Spring and Hibernate for an E-Commerce System
This paper presents the concept of the Spring framework which is widely used in making enterprise wide Applications along with other frameworks. Spring framework insists that ordinary java beans can be used with slight modifications to them. This framework is used within J2EE architecture to make it easier to develop large scale java applications. This paper presents the architecture overview o...
متن کاملAn Investigation into the Performance of Excavation with Inclined Struts Connected to Adjacent Buildings
One practical excavation support system is the inclined struts connected to adjacent buildings. This method is very common in small excavations, because of simplicity and minimum cost, when soil is cohesive and depth of excavation is less than stability depth (Hcr) but adjacent structures is at risk of damage due to weakness, old age or lack of proper skeleton frame. Although this method ...
متن کاملIntegrated Web Architecture Based on Web3D, Flex and SSH
Focusing on the problems occurred in traditional 2D image-word-based web applications, the author put forward concept of integrating Web3D, Flex and SSH technologies to create advanced “3D Virtual Reality & RIA” web application architecture, researched mechanisms of their architectures, and implemented their integration and communication & interaction: Flex and Struts2 via XML, Flex and Spring ...
متن کاملDesign and Implementation of a Flexible Workflow Management System
In modern society, flexible workflow is necessary for enterprises which will enable them to keep up with market variations and new technologies quickly, and to improve the whole efficiency of the enterprise. Firstly, this paper presents a formal application model of flexible process for Flexible Workflow Management System (or FWMS in short). Then, we describe the prototype in detail and give th...
متن کاملDesign and Implementation of Enterprise the Reimbursement Management System Based on SSH Architecture
It is based on c/s and b/s mode for traditional enterprise claims management system, system level architecture is unclear, invasive, and reusability lower defects, and increases the workload and complexity of management. In view of this, uses the MVC pattern and the SSH technology, build tiered architecture, Enterprise claims management system the separation of business logic and control logic,...
متن کامل